__construct() public method

Constructor.
public __construct ( PiPHP\GPIO\FileSystem\FileSystemInterface $fileSystem, integer $number )
$fileSystem PiPHP\GPIO\FileSystem\FileSystemInterface An object that provides file system access
$number integer The number of the pin
Example #1
0
 /**
  * Constructor.
  * 
  * @param FileSystemInterface $fileSystem An object that provides file system access
  * @param int                 $number     The number of the pin
  */
 public function __construct(FileSystemInterface $fileSystem, $number)
 {
     parent::__construct($fileSystem, $number);
     $this->setDirection(self::DIRECTION_IN);
 }