2014-07-05 09:19:15 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
namespace Firefly\Storage\Component;
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* Interface ComponentRepositoryInterface
|
|
|
|
*
|
|
|
|
* @package Firefly\Storage\Component
|
|
|
|
*/
|
2014-07-05 09:19:15 -05:00
|
|
|
interface ComponentRepositoryInterface
|
|
|
|
{
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
2014-07-05 09:19:15 -05:00
|
|
|
public function count();
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* @return mixed
|
|
|
|
*/
|
2014-07-14 23:58:08 -05:00
|
|
|
public function get();
|
|
|
|
|
2014-07-25 06:02:01 -05:00
|
|
|
/**
|
|
|
|
* @param $data
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
2014-07-05 09:19:15 -05:00
|
|
|
public function store($data);
|
|
|
|
|
|
|
|
}
|