Import driver command yii

0

Hi I have the following problem as I can import a driver in the run function to execute a command by console in yii 1 framework

 Yii::import('application.controllers.CreateEmailController');
   class emailCommand extends CConsoleCommand
   {
     public function run($args)
     {
       $file = CreateEmailController::actionPrintPDF();
      }   
   }

but it shows me this "failed to open stream: No such file or directory"

Thank you.

    
asked by Oscar Diaz 04.09.2018 в 00:01
source

0 answers