php-linux-gpio/lib/Exception/GpioException.php

21 lines
295 B
PHP
Raw Normal View History

2014-06-06 18:32:40 +00:00
<?php
namespace NoccyLabs\Gpio\Exception;
use NoccyLabs\Gpio\GpioPin;
class GpioException extends \Exception
{
protected $pin;
public function setPin(GpioPin $pin=null)
{
$this->pin = $pin;
}
public function getPin()
{
return $this->pin;
}
}