1 | <?php |
||
7 | class MysqlBlogRepository implements BlogRepositoryInterface |
||
8 | { |
||
9 | |||
10 | /** @var ConnectionLocator */ |
||
11 | protected $connections; |
||
12 | |||
13 | /** |
||
14 | * @param ConnectonLocator $connections |
||
15 | */ |
||
16 | public function __construct(ConnectionLocator $connections) |
||
20 | |||
21 | /** |
||
22 | * @param integer $id |
||
23 | * |
||
24 | * @return array|false |
||
25 | */ |
||
26 | public function getBlogById($id) |
||
42 | |||
43 | /** |
||
44 | * @param string $title |
||
45 | * |
||
46 | * @return array|false |
||
47 | */ |
||
48 | public function getBlogByTitle($title) |
||
64 | |||
65 | /** |
||
66 | * @return array|false |
||
67 | */ |
||
68 | public function getUnmappedBlogs() |
||
81 | } |
||
82 |