public function __construct(FileSystemInterface $fileSystem, $number) { $this->fileSystem = $fileSystem; $this->number = $number; $this->export(); }
/** * 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); }