PHP Class Neos\Flow\Tests\Functional\Aop\Fixtures\TargetClassWithPhp7Features

(c) Contributors of the Neos Project - www.neos.io This package is Open Source Software. For the full copyright and license information, please view the LICENSE file which was distributed with this source code.
Show file Open project: neos/flow-development-collection Class Usage Examples

Public Methods

Method Description
methodWithStaticTypeDeclarations ( string $aString, integer $aNumber ) : string Test scalar type declarations on parameters

Method Details

methodWithStaticTypeDeclarations() public method

The return type declaration causes syntax errors below PHP 7.0 but is supported by the reflection service and proxy builder in Flow.
public methodWithStaticTypeDeclarations ( string $aString, integer $aNumber ) : string
$aString string
$aNumber integer
return string