PiPHP\GPIO\Interrupt\InterruptWatcher::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, callable $streamSelect )
$fileSystem PiPHP\GPIO\FileSystem\FileSystemInterface An object that provides file system access
$streamSelect callable The stream select implementation
    public function __construct(FileSystemInterface $fileSystem, callable $streamSelect)
    {
        $this->fileSystem = $fileSystem;
        $this->streamSelect = $streamSelect;
        $this->streams = $this->pins = $this->callbacks = [];
    }