public function actionGenfake($file)
    {
        $path = $this->buildFakePath($file);
        if (!$this->force && file_exists($path)) {
            Yii::warning("already exists: $path");

            return 1;
        }

        return $this->genFake($file, $path);
    }
public function actionGenfake($file)
    {
        $path = $this->buildFakePath($file);
        if (!$this->force && file_exists($path)) {
            Yii::warning("already exists: $path");

            return 1;
        }

        return $this->genFake($file, $path);
    }
public function actionGenfake ( $ file ) { $ path = $ this -> buildFakePath ( $ file ) ; if ( ! $ this -> force && file_exists ( $ path ) ) { Yii :: warning ( "already exists: $path" ) ; return 1 ; } return $ this -> genFake ( $ file , $ path ) ; }
Generates skeleton class for fake.
Generates skeleton class for fake .