public function __construct(\Mage_Eav_Model_Entity_Attribute $attribute) { $this->attribute = $attribute; }