Skip to content

Commit

Permalink
add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey179 committed Nov 30, 2014
1 parent ec24fe6 commit 22e0444
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/php/org/bovigo/vfs/vfsStreamWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,16 @@ public function url_stat($path, $flags)
return array_merge(array_values($fileStat), $fileStat);
}

/**
* returns target of a link
*
* In case the target does not exist an E_USER_WARNING is triggered. Also,
* if the target is not a link an E_USER_WARNING is triggered.
*
* @param string $path path of url to return status for
* @return bool|string
* @since 1.?.0
*/
public function url_readlink($path)
{
$content = $this->getContent($this->resolvePath(vfsStream::path($path)));
Expand Down

0 comments on commit 22e0444

Please sign in to comment.