Created
January 20, 2018 09:04
-
-
Save danieldsf/d6a9f88555544f9c7954bca1d14c7b20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ManipulaPython{ | |
private $arquivo; | |
private $diretivaInicial = "python"; | |
private $argumentos = []; | |
public $isRunnable = false; | |
function __construct($arquivo = null){ | |
if($arquivo){ | |
$this->arquivo = $arquivo; | |
$isRunnable = true; | |
} | |
} | |
public function toString(){ | |
return $diretivaInicial." ".$arquivo." ".$argumentos; | |
} | |
public function getIsRunnable(){ | |
return $this->isRunnabble; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment