init
This commit is contained in:
29
mysyde/common/interfaces/GenericObjectStorageInterface.php
Normal file
29
mysyde/common/interfaces/GenericObjectStorageInterface.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace DynCom\mysyde\common\interfaces;
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Bauer
|
||||
* Date: 6/2/2015
|
||||
* Time: 10:22 AM
|
||||
*/
|
||||
|
||||
interface GenericObjectStorageInterface extends \Countable, \Iterator, \ArrayAccess
|
||||
{
|
||||
/**
|
||||
* @param $object
|
||||
* @param null $data
|
||||
* @return mixed
|
||||
*/
|
||||
public function attach($object, $data = null);
|
||||
|
||||
/**
|
||||
* @param $object
|
||||
* @return mixed
|
||||
*/
|
||||
public function detach($object);
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function clear();
|
||||
}
|
||||
Reference in New Issue
Block a user