Symfony\Component\Process\Process::getTimeout PHP 메소드

getTimeout() 공개 메소드

Gets the process timeout (max. runtime).
public getTimeout ( ) : float | null
리턴 float | null The timeout in seconds or null if it's disabled
    public function getTimeout()
    {
        return $this->timeout;
    }

Usage Example

예제 #1
0
 public function testNullTimeout()
 {
     $p = new Process('');
     $p->setTimeout(10);
     $p->setTimeout(null);
     $this->assertNull($p->getTimeout());
 }
All Usage Examples Of Symfony\Component\Process\Process::getTimeout