gnokiiPath = $gnokiiPath; if (!is_executable($this->gnokiiPath)) { throw new \Exception('Specified Gnokii executable is not executable by me!'); } public function send($recipient, $message) { return true; } }