PHP 클래스 Jarves\Router\RestApiLoader

상속: extends Symfony\Component\Config\Loader\Loader
파일 보기 프로젝트 열기: jarves/jarves

보호된 프로퍼티들

프로퍼티 타입 설명
$annotationLoader Symfony\Component\Routing\Loader\AnnotationFileLoader
$jarves Jarves\Jarves
$routes Symfony\Component\Routing\RouteCollection

공개 메소드들

메소드 설명
__construct ( $jarves )
addEntryPointRoutes ( RouteCollection $routes, $pattern, Object $object )
importObjectRoutes ( )
importWindowRoutes ( )
load ( $resource, $type = null )
setupObjectRouteRequirements ( $route, Object $object, $withPrefix = false )
setupRelationRoutes ( $pattern, Object $object ) Maybe in v1.1
setupRoutes ( Bundle $config, $controller, $pattern, $objectSection, Object $object, Object $relationObject = null, Field $relationField = null )
setupWindowRoute ( EntryPoint $entryPoint )
supports ( $resource, $type = null )

메소드 상세

__construct() 공개 메소드

public __construct ( $jarves )

addEntryPointRoutes() 공개 메소드

public addEntryPointRoutes ( RouteCollection $routes, $pattern, Object $object )
$routes Symfony\Component\Routing\RouteCollection
$object Jarves\Configuration\Object

importObjectRoutes() 공개 메소드

public importObjectRoutes ( )

importWindowRoutes() 공개 메소드

public importWindowRoutes ( )

load() 공개 메소드

public load ( $resource, $type = null )

setupObjectRouteRequirements() 공개 메소드

public setupObjectRouteRequirements ( $route, Object $object, $withPrefix = false )
$object Jarves\Configuration\Object

setupRelationRoutes() 공개 메소드

Maybe in v1.1
public setupRelationRoutes ( $pattern, Object $object )
$pattern
$object Jarves\Configuration\Object

setupRoutes() 공개 메소드

public setupRoutes ( Bundle $config, $controller, $pattern, $objectSection, Object $object, Object $relationObject = null, Field $relationField = null )
$config Jarves\Configuration\Bundle
$object Jarves\Configuration\Object
$relationObject Jarves\Configuration\Object
$relationField Jarves\Configuration\Field

setupWindowRoute() 공개 메소드

public setupWindowRoute ( EntryPoint $entryPoint )
$entryPoint Jarves\Configuration\EntryPoint

supports() 공개 메소드

public supports ( $resource, $type = null )

프로퍼티 상세

$annotationLoader 보호되어 있는 프로퍼티

protected AnnotationFileLoader,Symfony\Component\Routing\Loader $annotationLoader
리턴 Symfony\Component\Routing\Loader\AnnotationFileLoader

$jarves 보호되어 있는 프로퍼티

protected Jarves,Jarves $jarves
리턴 Jarves\Jarves

$routes 보호되어 있는 프로퍼티

protected RouteCollection,Symfony\Component\Routing $routes
리턴 Symfony\Component\Routing\RouteCollection