PHP 클래스 SwaggerContext

상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: api-platform/core

공개 메소드들

메소드 설명
__construct ( )
assertNbOperationsExist ( $nb, $className )
assertNbPropertiesExist ( $nb, $className )
assertNodeValueIs ( $nodeName, $className, $value )
assertOperationNodeValueIs ( $nodeName, $operationMethod, $className, $value )
assertPropertyExist ( $propertyName, $className )
assertPropertyIsRequired ( string $propertyName, string $className )
assertPropertyNodeValueIs ( $nodeName, $propertyName, $className, $value )
assertThePathExist ( $path )
assertTheSwaggerClassExist ( $className )
assertTheSwaggerClassNotExist ( $className )
gatherContexts ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope ) Gives access to the Behatch context.

비공개 메소드들

메소드 설명
getClassInfos ( string $className ) : stdClass
getLastJsonResponse ( ) : stdClass
getOperation ( string $method, string $className ) : stdClass Gets an operation by its method name.
getOperations ( string $className ) : stdClass Gets all operations of a given class.
getProperties ( string $className ) : stdClass Gets all properties of a given class.
getProperty ( string $propertyName, string $className ) : stdClass

메소드 상세

__construct() 공개 메소드

public __construct ( )

assertNbOperationsExist() 공개 메소드

public assertNbOperationsExist ( $nb, $className )

assertNbPropertiesExist() 공개 메소드

public assertNbPropertiesExist ( $nb, $className )

assertNodeValueIs() 공개 메소드

public assertNodeValueIs ( $nodeName, $className, $value )

assertOperationNodeValueIs() 공개 메소드

public assertOperationNodeValueIs ( $nodeName, $operationMethod, $className, $value )

assertPropertyExist() 공개 메소드

public assertPropertyExist ( $propertyName, $className )

assertPropertyIsRequired() 공개 메소드

public assertPropertyIsRequired ( string $propertyName, string $className )
$propertyName string
$className string

assertPropertyNodeValueIs() 공개 메소드

public assertPropertyNodeValueIs ( $nodeName, $propertyName, $className, $value )

assertThePathExist() 공개 메소드

public assertThePathExist ( $path )

assertTheSwaggerClassExist() 공개 메소드

public assertTheSwaggerClassExist ( $className )

assertTheSwaggerClassNotExist() 공개 메소드

public assertTheSwaggerClassNotExist ( $className )

gatherContexts() 공개 메소드

Gives access to the Behatch context.
public gatherContexts ( Behat\Behat\Hook\Scope\BeforeScenarioScope $scope )
$scope Behat\Behat\Hook\Scope\BeforeScenarioScope