Esempio n. 1
0
 /**
  * @param string $identifier the php property name used for this property
  * @param array $config application specific configuration to carry in this
  *      property
  */
 public function __construct($identifier, array $config = array())
 {
     parent::__construct($config);
     $this->_identifier = (string) $identifier;
 }
Esempio n. 2
0
 /**
  * @param string $identifier the php property name used for this collection
  * @param RdfTypeFactory $typeFactory the typefactory to use with fixed child
  *      types
  * @param array $config application specific configuration to carry in this
  *      collection
  */
 public function __construct($identifier, RdfTypeFactory $typeFactory, array $config = array())
 {
     parent::__construct($config);
     $this->_identifier = (string) $identifier;
     $this->_typeFactory = $typeFactory;
 }