File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,32 +10,45 @@ interface NodeInterface extends GenericOperationInterface
1010 const DS = DIRECTORY_SEPARATOR ;
1111
1212 /**
13+ * Alias for getPath()
14+ *
1315 * @return string
1416 */
1517 public function __toString ();
1618
1719 /**
20+ * Return the parent node, or null if this is already the top node.
21+ *
1822 * @return NodeInterface|null
1923 */
2024 public function getParent ();
2125
2226 /**
27+ * Return the full path, for example: /path/to/file.ext
28+ *
2329 * @return string
2430 */
2531 public function getPath ();
2632
2733 /**
34+ * Return the node name, for example: file.ext
35+ *
2836 * @return string
2937 */
3038 public function getName ();
3139
3240 /**
41+ * Copy this node to the given node, returning the all results when done.
42+ *
3343 * @param NodeInterface $node
3444 * @return PromiseInterface
3545 */
3646 public function copy (NodeInterface $ node );
3747
3848 /**
49+ * Copy this node to the given node streaming. The returned object is a stream,
50+ * that emits events for each copy node during this operation.
51+ *
3952 * @param NodeInterface $node
4053 * @return ObjectStream
4154 */
You can’t perform that action at this time.
0 commit comments