public function check($password) {
        if (empty($password) ) {
            throw new InvalidArgumentException('The password cannot be empty');
        }
        $process = new Process($this->command);
        $process->setInput($password);
        $process->mustRun();

        return $this->verifyOutput($process->getOutput() );
    }
public function check($password) {
        if (empty($password) ) {
            throw new InvalidArgumentException('The password cannot be empty');
        }
        $process = new Process($this->command);
        $process->setInput($password);
        $process->mustRun();

        return $this->verifyOutput($process->getOutput() );
    }
public function check ( $ password ) { if ( empty ( $ password ) ) { throw new InvalidArgumentException ( 'The password cannot be empty' ) ; } $ process = new Process ( $ this -> command ) ; $ process -> setInput ( $ password ) ; $ process -> mustRun ( ) ; return $ this -> verifyOutput ( $ process -> getOutput ( ) ) ; }
Performs an obscure check with the given password

@param string $password
@throws ProcessFailedException
Performs an obscure check with the given password