protected function setFramework($framework)
    {
        $framework = strtolower($framework);

        if (! in_array($framework, ['laravel', 'lumen'])) {
            throw new FrameworkNotSupportException($framework);
        }

        $this->framework = $framework;
    }
protected function setFramework($framework)
    {
        $framework = strtolower($framework);

        if (! in_array($framework, ['laravel', 'lumen'])) {
            throw new FrameworkNotSupportException($framework);
        }

        $this->framework = $framework;
    }
protected function setFramework ( $ framework ) { $ framework = strtolower ( $ framework ) ; if ( ! in_array ( $ framework , [ 'laravel' , 'lumen' ] ) ) { throw new FrameworkNotSupportException ( $ framework ) ; } $ this -> framework = $ framework ; }
Set framework.

@param string $framework

@throws \Exception
Set framework .