Nelmio\Alice\Definition\Property::getName PHP 메소드

getName() 공개 메소드

public getName ( ) : string
리턴 string
    public function getName() : string
    {
        return $this->name;
    }

Usage Example

예제 #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