tükrözve innen: blallo/rss-bridge
16 sor
No EOL
375 B
PHP
16 sor
No EOL
375 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;
|
|
}
|
|
} |