class WebCategory{
private $cat;
public function __construct(Category $cat){
$this->cat = $cat;
}
public function __call($name, $arguments){
return $this->cat->$name($arguments);
}
}
/**
* Class WebCategory
*
* @mixin Category
*/
class WebCategory
{
private $cat;
public function __construct(Category $cat)
{
$this->cat = $cat;
}
public function __call($name, $arguments)
{
return $this->cat->$name($arguments);
}
}