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.
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Méthodes publiques

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

Method Details

methodWithStaticTypeDeclarations() public méthode

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
Résultat string