isUndefined() public method

public isUndefined ( ) : boolean
return boolean
Ejemplo n.º 1
0
 /**
  * @param PrePush     $prePushData
  * @param IOInterface $input
  *
  * @return PrePush
  */
 public function process(PrePush $prePushData, IOInterface $input)
 {
     $this->input = $input;
     if (true === $prePushData->isUndefined()) {
         $prePushData = PrePushConfigurator::configure($this->input, $prePushData);
     }
     if (true === $prePushData->isEnabled()) {
         $prePushData = $prePushData->setExecute($this->configTools($prePushData->getExecute()));
     }
     return $prePushData;
 }