class Test{
protected $a = array();
public function __construct(){
$tmp = new Test2();
$this->a = $tmp->get();
}
}
class Test2{
private $data = array();
public function __construct(){
$this->data = range(1,100);
}
public function get(){
return $this->data;
}
}