Neos\Flow\Mvc\Controller\Argument::getDataType PHP Метод

getDataType() публичный Метод

Returns the data type of this argument's value
public getDataType ( ) : string
Результат string The data type
    public function getDataType()
    {
        return $this->dataType;
    }

Usage Example

Пример #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.');
 }