Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getPropertyName()
 {
     if ($this->metadata instanceof PropertyMetadataInterface) {
         return $this->metadata->getPropertyName();
     }
     return null;
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function add(MetadataInterface $metadata)
 {
     $this->metadata[$metadata->getAlias()] = $metadata;
 }