public function bind($routeName)
    {
        if ($this->isFrozen) {
            throw new ControllerFrozenException(sprintf('Calling %s on frozen %s instance.', __METHOD__, __CLASS__));
        }

        $this->routeName = $routeName;

        return $this;
    }
public function bind($routeName)
    {
        if ($this->isFrozen) {
            throw new ControllerFrozenException(sprintf('Calling %s on frozen %s instance.', __METHOD__, __CLASS__));
        }

        $this->routeName = $routeName;

        return $this;
    }
public function bind ( $ routeName ) { if ( $ this -> isFrozen ) { throw new ControllerFrozenException ( sprintf ( 'Calling %s on frozen %s instance.' , __METHOD__ , __CLASS__ ) ) ; } $ this -> routeName = $ routeName ; return $ this ; }
Sets the controller's route.

@param string $routeName

@return Controller $this The current Controller instance
Sets the controller s route .