PHP 클래스 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.
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
methodWithStaticTypeDeclarations ( string $aString, integer $aNumber ) : string Test scalar type declarations on parameters

메소드 상세

methodWithStaticTypeDeclarations() 공개 메소드

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
리턴 string