blob: f7b6c75d1ad4bff4f2fed264975e25905a101e10 [file] [log] [blame]
<?php
class ezcBaseTestOptions extends ezcBaseOptions
{
protected $properties = array( "foo" => "bar", "baz" => "blah" );
public function __set( $propertyName, $propertyValue )
{
if ( $this->__isset( $propertyName ) )
{
$this->properties[$propertyName] = $propertyValue;
}
else
{
throw new ezcBasePropertyNotFoundException( $propertyName );
}
}
}
?>