Skip to content

Commit

Permalink
Adds full directory listing with test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaport committed Aug 8, 2019
1 parent b6c6945 commit 11a78b3
Show file tree
Hide file tree
Showing 46 changed files with 593 additions and 63 deletions.
123 changes: 61 additions & 62 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions lib/any-directory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);

/**
* created by Ali Masood<ali@jsys.pk>
* Date: 2019-08-08 14:23
*/

namespace J\FS;

abstract class AnyDirectory implements Directory
{
protected $path;

public function __construct(DirectoryPath $dirPath)
{
$this->path = $dirPath;
}

public function fullPath():string
{
return $this->path->path();
}

}
Loading

0 comments on commit 11a78b3

Please sign in to comment.