PHP 클래스 Swagger\Processors\HandleReferences

파일 보기 프로젝트 열기: zircote/swagger-php

공개 메소드들

메소드 설명
__invoke ( Analysis $analysis )

비공개 메소드들

메소드 설명
checkSyntax ( $string ) : integer Checks the syntax of the string to make sure it starts with a $
getAllImports ( Analysis $analysis ) Gets all the possible importable objects and adds them to the lists.
importReferences ( ) Imports the references from all of the responses
importSchema ( Schema $parent, Schema $child ) Imports the schema
isEmpty ( Property $property ) : boolean Checks if the value is empty.
iterateQueue ( array &$queue, $current_key ) Iterates the pending queue, popping the first element of the list.
link ( $response ) : array Creates the Linked list array item.
loadParameters ( Swagger\Annotations\Operation $operation ) Loads all the parameters into the mapping
loadParent ( &$child, $type, $parent_name ) Links the child with the parent
loadResponses ( Swagger\Annotations\Operation $operation ) Loads all the responses into the mapping
loadSchemas ( Swagger\Annotations\Operation $operation ) Loads all the schemas into the mapping
mapReferences ( ) Maps the response to each parent child.
propertyRetrieve ( array $params ) Retrieves all the sub properties

메소드 상세

__invoke() 공개 메소드

public __invoke ( Analysis $analysis )
$analysis Swagger\Analysis