forked from symfony-cmf/media-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHierarchyInterface.php
More file actions
39 lines (35 loc) · 797 Bytes
/
HierarchyInterface.php
File metadata and controls
39 lines (35 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/*
* This file is part of the Symfony CMF package.
*
* (c) 2011-2014 Symfony CMF
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Cmf\Bundle\MediaBundle;
/**
* Interface for file and directory objects.
*
* For PHPCR the id is being the path.
*
* This is to be kept compatible with the Gaufrette adapter to be able to use a
* filesystem with directories.
*/
interface HierarchyInterface extends MediaInterface
{
/**
* Get the parent node.
*
* @return Object|null
*/
public function getParent();
/**
* Set the parent node.
*
* @param Object $parent
*
* @return boolean
*/
public function setParent($parent);
}