public function __construct($cliExecutableName = null) { $this->cliExecutableName = $cliExecutableName ?: basename($_SERVER['PHP_SELF']); }