PATH:
home
/
lab2454c
/
isaaclondston.com
/
wp-content
/
plugins
/
loco-translate
/
src
/
fs
<?php /** * */ class Loco_fs_Link extends Loco_fs_File { /** * @var Loco_fs_File */ private $real; /** * {@inheritdoc} */ public function __construct( $path ){ parent::__construct($path); $real = realpath( $this->getPath() ); if( is_string($real) ){ if( is_dir($real) ){ $this->real = new Loco_fs_Directory($real); } else { $this->real = new Loco_fs_File($real); } } } /** * @return Loco_fs_File|null */ public function resolve(){ return $this->real; } /** * {@inheritdoc} */ public function isDirectory(){ return $this->real instanceof Loco_fs_Directory; } }
[-] FileWriter.php
[edit]
[-] FileList.php
[edit]
[-] Revisions.php
[edit]
[-] File.php
[edit]
[+]
..
[-] LocaleDirectory.php
[edit]
[-] Directory.php
[edit]
[-] FileMode.php
[edit]
[-] Siblings.php
[edit]
[-] LocaleFileList.php
[edit]
[-] Link.php
[edit]
[-] DummyFile.php
[edit]
[-] FileFinder.php
[edit]
[-] Locations.php
[edit]
[-] FileListInterface.php
[edit]
[-] LocaleFile.php
[edit]