public function __construct(EntityProto $proto, &$object) { Assert::isArray($object); return parent::__construct($proto, $object); }
public function __construct(EntityProto $proto, &$object) { Assert::isInstance($object, 'Form'); return parent::__construct($proto, $object); }
public function __construct(EntityProto $proto, &$object) { Assert::isTrue(is_dir($object) && is_writable($object), 'object must be a writeble directory'); return parent::__construct($proto, $object); }