Exemplo n.º 1
0
 /**
  * @param string $command
  */
 protected function executeNotifyCommand($command)
 {
     if (strlen($command) > 0) {
         $exitStatus = null;
         $this->legacyProxy->system($command, $exitStatus);
     }
 }
Exemplo n.º 2
0
 /**
  * @return bool
  *
  * @since Method available since Release 4.1.0
  */
 protected function hasGrowl()
 {
     $command = 'which growlnotify > /dev/null 2>&1';
     return $this->legacyProxy->passthru($command) === 0;
 }
 /**
  * @since Method available since Release 2.20.0
  */
 public function clearOutputHandler()
 {
     return $this->legacyProxy->ob_end_clean();
 }
 /**
  * @return string
  */
 protected function getPHPConfigDir()
 {
     return $this->legacyProxy->get_cfg_var('cfg_file_path');
 }
Exemplo n.º 5
0
 /**
  * @param string $type
  * @param string $expectedSuperType
  */
 protected function isSubTypeOfRequiredSuperType($type, $expectedSuperType)
 {
     return $this->legacyProxy->is_subclass_of($type, $expectedSuperType);
 }
Exemplo n.º 6
0
 /**
  * @return string
  */
 protected function getPHPOS()
 {
     return $this->legacyProxy->PHP_OS();
 }
 /**
  * @param string $runnerCommand
  *
  * @return int
  *
  * @since Method available since Release 2.20.0
  */
 protected function executeRunnerCommand($runnerCommand)
 {
     return $this->legacyProxy->passthru($runnerCommand);
 }