PHP Class PhalconRest\Export\Postman\ApiCollection

Show file Open project: olivierandriessen/phalcon-rest Class Usage Examples

Public Properties

Property Type Description
$basePath
$id
$name

Protected Properties

Property Type Description
$requests

Public Methods

Method Description
__construct ( $name, $basePath )
addCollection ( ApiCollection $collection )
addManyCollections ( array $collections )
addManyRoutes ( array $routes )
addRequest ( Request $request )
addRoute ( Phalcon\Mvc\Router\Route $route )
getRequests ( )

Method Details

__construct() public method

public __construct ( $name, $basePath )

addCollection() public method

public addCollection ( ApiCollection $collection )
$collection PhalconRest\Api\ApiCollection

addManyCollections() public method

public addManyCollections ( array $collections )
$collections array

addManyRoutes() public method

public addManyRoutes ( array $routes )
$routes array

addRequest() public method

public addRequest ( Request $request )
$request Request

addRoute() public method

public addRoute ( Phalcon\Mvc\Router\Route $route )
$route Phalcon\Mvc\Router\Route

getRequests() public method

public getRequests ( )

Property Details

$basePath public property

public $basePath

$id public property

public $id

$name public property

public $name

$requests protected property

protected $requests