This repository was archived by the owner on Feb 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectoryClassesIterator.php
More file actions
41 lines (39 loc) · 1.53 KB
/
Copy pathDirectoryClassesIterator.php
File metadata and controls
41 lines (39 loc) · 1.53 KB
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
40
41
<?php
//
// +---------------------------------------------------------------------+
// | CODE INC. SOURCE CODE |
// +---------------------------------------------------------------------+
// | Copyright (c) 2018 - Code Inc. SAS - All Rights Reserved. |
// | Visit https://www.codeinc.fr for more information about licensing. |
// +---------------------------------------------------------------------+
// | NOTICE: All information contained herein is, and remains the |
// | property of Code Inc. SAS. The intellectual and technical concepts |
// | contained herein are proprietary to Code Inc. SAS are protected by |
// | trade secret or copyright law. Dissemination of this information or |
// | reproduction of this material is strictly forbidden unless prior |
// | written permission is obtained from Code Inc. SAS. |
// +---------------------------------------------------------------------+
//
// Author: Joan Fabrégat <joan@codeinc.fr>
// Date: 16/10/2018
// Project: AritasIntranet
//
declare(strict_types=1);
namespace CodeInc\DirectoryClassesIterator;
/**
* Class DirectoryClassesIterator
*
* @package CodeInc\DirectoryClassesIterator
* @author Joan Fabrégat <joan@codeinc.fr>
*/
class DirectoryClassesIterator extends AbstractDirectoryClassesIterator
{
/**
* @inheritdoc
* @return \Iterator|\SplFileInfo[]
*/
protected function getDirectoryIterator():\Iterator
{
return new \DirectoryIterator($this->getPath());
}
}