<?php
class ezcMailImapTransportOptions 
{
    protected 
$properties;

    public function 
__construct( array $options = array() )
    {
        
$this->listLimit 0;
    }

    public function 
__set$name$value )
    {
        switch ( 
$name ) {
            case 
'listLimit'
                if ( !
is_int$value ) || $value ) {
                    throw new 
ezcBaseValueException$name$value'int >= 0' );
                }
                
$this->properties[$name] = $value;
                break;
        }
    }

    public function 
__isset$propertyName )
    {
        return 
array_key_exists$propertyName$this->properties );
    }

    public function 
__get$propertyName )
    {
        if ( 
$this->__isset$propertyName ) === true ) {
            return 
$this->properties[$propertyName];
        }
        throw new 
ezcBasePropertyNotFoundException$propertyName );
    }
}
?>