public function addResource($model)
    {
        if (!$this->isRegistered()) {
            $this->registerWordpressAction();
        }

        $this->route->addResourcePossibility($model);
    }
public function addResource($model)
    {
        if (!$this->isRegistered()) {
            $this->registerWordpressAction();
        }

        $this->route->addResourcePossibility($model);
    }
public function addResource ( $ model ) { if ( ! $ this -> isRegistered ( ) ) { $ this -> registerWordpressAction ( ) ; } $ this -> route -> addResourcePossibility ( $ model ) ; }
Adds possibles routes to the router instance
based on Custom Post Type information.
@param  \Strata\Model\WordpressEntity $model
Adds possibles routes to the router instance based on Custom Post Type information .