protected function prefixedResource( $name, $controller, array $options )
	{
		list( $name, $prefix ) = $this->getResourcePrefix( $name );

		// We need to extract the base resource from the resource name. Nested resources
		// are supported in the framework, but we need to know what name to use for a
		// place-holder on the route parameters, which should be the base resources.
		$callback = function ( $me ) use ( $name, $controller, $options )
		{
			$me->resource( $name, $controller, $options );
		};

		$this->router->group( compact( 'prefix' ), $callback );
	}
protected function prefixedResource( $name, $controller, array $options )
	{
		list( $name, $prefix ) = $this->getResourcePrefix( $name );

		// We need to extract the base resource from the resource name. Nested resources
		// are supported in the framework, but we need to know what name to use for a
		// place-holder on the route parameters, which should be the base resources.
		$callback = function ( $me ) use ( $name, $controller, $options )
		{
			$me->resource( $name, $controller, $options );
		};

		$this->router->group( compact( 'prefix' ), $callback );
	}
protected function prefixedResource ( $ name , $ controller , array $ options ) { list ( $ name , $ prefix ) = $ this -> getResourcePrefix ( $ name ) ; // We need to extract the base resource from the resource name. Nested resources // are supported in the framework, but we need to know what name to use for a // place-holder on the route parameters, which should be the base resources. $ callback = function ( $ me ) use ( $ name , $ controller , $ options ) { $ me -> resource ( $ name , $ controller , $ options ) ; } ; $ this -> router -> group ( compact ( 'prefix' ) , $ callback ) ; }
Build a set of prefixed resource routes.

@param  string $name
@param  string $controller
@param  array $options
Build a set of prefixed resource routes .