Nelmio\Alice\Definition\Property::getName PHP Méthode

getName() public méthode

public getName ( ) : string
Résultat string
    public function getName() : string
    {
        return $this->name;
    }

Usage Example

Exemple #1
0
 public function testReadAccessorsReturnPropertiesValues()
 {
     $property = 'username';
     $value = new \stdClass();
     $definition = new Property($property, $value);
     $this->assertEquals($property, $definition->getName());
     $this->assertEquals($value, $definition->getValue());
 }
All Usage Examples Of Nelmio\Alice\Definition\Property::getName