Skip to content

Commit

Permalink
provide api hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Kleine committed Jan 14, 2012
1 parent 747c36d commit 6007e9e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main/php/org/bovigo/vfs/vfsStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
use org\bovigo\vfs\visitor\vfsStreamVisitor;
/**
* Some utility methods for vfsStream.
*
* @api
*/
class vfsStream
{
Expand Down Expand Up @@ -120,6 +122,7 @@ public static function umask($umask = null)
* )
* </code>
* the resulting directory tree will look like this:
* <pre>
* root
* \- Core
* |- badlocation.php
Expand All @@ -128,6 +131,7 @@ public static function umask($umask = null)
* | |- other.php
* | \- Invalid.csv
* \- AnEmptyFolder
* </pre>
* Arrays will become directories with their key as directory name, and
* strings becomes files with their key as file name and their value as file
* content.
Expand Down Expand Up @@ -161,6 +165,7 @@ public static function setup($rootDirName = 'root', $permissions = null, array $
* )
* </code>
* the resulting directory tree will look like this:
* <pre>
* baseDir
* \- Core
* |- badlocation.php
Expand All @@ -169,6 +174,7 @@ public static function setup($rootDirName = 'root', $permissions = null, array $
* | |- other.php
* | \- Invalid.csv
* \- AnEmptyFolder
* </pre>
* Arrays will become directories with their key as directory name, and
* strings becomes files with their key as file name and their value as file
* content.
Expand Down
2 changes: 2 additions & 0 deletions src/main/php/org/bovigo/vfs/vfsStreamDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace org\bovigo\vfs;
/**
* Directory container.
*
* @api
*/
class vfsStreamDirectory extends vfsStreamAbstractContent implements vfsStreamContainer
{
Expand Down
4 changes: 3 additions & 1 deletion src/main/php/org/bovigo/vfs/vfsStreamException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
*/
namespace org\bovigo\vfs;
/**
* Exception for streamwrapper subpackage.
* Exception for vfsStream errors.
*
* @api
*/
class vfsStreamException extends \Exception
{
Expand Down
2 changes: 2 additions & 0 deletions src/main/php/org/bovigo/vfs/vfsStreamFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace org\bovigo\vfs;
/**
* File container.
*
* @api
*/
class vfsStreamFile extends vfsStreamAbstractContent
{
Expand Down

0 comments on commit 6007e9e

Please sign in to comment.