protected function getWpCliPath()
    {
        $filename = sprintf("%sbin/wp", Strata::getVendorPath());

        if (!is_executable($filename) && !chmod($filename, 755)) {
            $this->output->writeLn(sprintf("Could not grant execute permissions to %s. Command will fail.", $filename));
        }

        return $filename;
    }
protected function getWpCliPath()
    {
        $filename = sprintf("%sbin/wp", Strata::getVendorPath());

        if (!is_executable($filename) && !chmod($filename, 755)) {
            $this->output->writeLn(sprintf("Could not grant execute permissions to %s. Command will fail.", $filename));
        }

        return $filename;
    }
protected function getWpCliPath ( ) { $ filename = sprintf ( "%sbin/wp" , Strata :: getVendorPath ( ) ) ; if ( ! is_executable ( $ filename ) && ! chmod ( $ filename , 755 ) ) { $ this -> output -> writeLn ( sprintf ( "Could not grant execute permissions to %s. Command will fail." , $ filename ) ) ; } return $ filename ; }
Returns the path of wp-cli within the project.
@return string
Returns the path of wp - cli within the project .