コード例 #1
0
ファイル: DefaultFileSystem.php プロジェクト: phpj/phpj
 /**
  * @return FileSystem
  */
 public static function getFileSystem()
 {
     return StaticCache::loadInjection('file_system', new Definition(UnixFileSystem::class));
 }
コード例 #2
0
ファイル: UnixFileSystem.php プロジェクト: phpj/phpj
 public function __construct()
 {
     $this->slash = DIRECTORY_SEPARATOR;
     $this->colon = PATH_SEPARATOR;
     $this->fs = StaticCache::loadInjection('symfony_fs', new Definition(SFilesystem::class));
 }