PHP Class Jarves\Router\RestApiLoader

Inheritance: extends Symfony\Component\Config\Loader\Loader
Afficher le fichier Open project: jarves/jarves

Protected Properties

Свойство Type Description
$annotationLoader Symfony\Component\Routing\Loader\AnnotationFileLoader
$jarves Jarves\Jarves
$routes Symfony\Component\Routing\RouteCollection

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

public __construct ( $jarves )

addEntryPointRoutes() public méthode

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

importObjectRoutes() public méthode

public importObjectRoutes ( )

importWindowRoutes() public méthode

public importWindowRoutes ( )

load() public méthode

public load ( $resource, $type = null )

setupObjectRouteRequirements() public méthode

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

setupRelationRoutes() public méthode

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

setupRoutes() public méthode

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 méthode

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

supports() public méthode

public supports ( $resource, $type = null )

Property Details

$annotationLoader protected_oe property

protected AnnotationFileLoader,Symfony\Component\Routing\Loader $annotationLoader
Résultat Symfony\Component\Routing\Loader\AnnotationFileLoader

$jarves protected_oe property

protected Jarves,Jarves $jarves
Résultat Jarves\Jarves

$routes protected_oe property

protected RouteCollection,Symfony\Component\Routing $routes
Résultat Symfony\Component\Routing\RouteCollection