Neos\Flow\Mvc\Controller\Argument::getName PHP Method

getName() public method

Returns the name of this argument
public getName ( ) : string
return string This argument's name
    public function getName()
    {
        return $this->name;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @test
  */
 public function passingDataTypeToConstructorReallySetsTheDataType()
 {
     $this->assertEquals('string', $this->simpleValueArgument->getDataType(), 'The specified data type has not been set correctly.');
     $this->assertEquals('someName', $this->simpleValueArgument->getName(), 'The specified name has not been set correctly.');
 }