rss-bridge/lib/Item.php
Benoit.S « Benpro » fd4af15ce6 Respect PHP Coding Standards.
PSR-1 and PSR-2.

PSR-0 need more modifications.
2014-02-06 11:34:19 +01:00

20 lines
387 B
PHP

<?php
interface ItemInterface{}
/**
* Object to store datas collect informations
* FIXME : not sur this logic is the good, I think recast all is necessary
*/
class Item implements ItemInterface
{
public function __set($name, $value)
{
$this->$name = $value;
}
public function __get($name)
{
return isset($this->$name) ? $this->$name : null;
}
}