src/Router.php
public function routable($class, $prefix = null)
    {
        $class = $this->resolveRoutableClassValue($class);

        $router = (new RoutableInspector($class))->generateRoutables(null, $prefix);

        $this->mergeRouter($router);

        return $this;
    }
public function routable($class, $prefix = null)
    {
        $class = $this->resolveRoutableClassValue($class);

        $router = (new RoutableInspector($class))->generateRoutables(null, $prefix);

        $this->mergeRouter($router);

        return $this;
    }
public function routable ( $ class , $ prefix = null ) { $ class = $ this -> resolveRoutableClassValue ( $ class ) ; $ router = ( new RoutableInspector ( $ class ) ) -> generateRoutables ( null , $ prefix ) ; $ this -> mergeRouter ( $ router ) ; return $ this ; }
Import all routable method for a class

@param string $class
@return self
Import all routable method for a class