Ejemplo n.º 1
0
 public function prepend($value, $key = null)
 {
     // Only packages
     if (!$value instanceof Engine_Package_Manifest) {
         throw new Engine_Package_Manager_Exception('Cannot assign a non-package');
     }
     $key = $value->getKey();
     return parent::prepend($value, $key);
 }
Ejemplo n.º 2
0
 public function prepend($value, $key = null)
 {
     // Only operations
     if (!$value instanceof Engine_Package_Manager_Operation_Abstract) {
         throw new Engine_Package_Manager_Exception('Problem loading operation from cache');
     }
     $key = $value->getKey();
     return parent::prepend($value, $key);
 }