���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/st2/vendor/league/plates/src/Template/ |
<?php namespace League\Plates\Template; use LogicException; /** * Default template directory. */ class Directory { /** * Template directory path. * @var string */ protected $path; /** * Create new Directory instance. * @param string $path */ public function __construct($path = null) { $this->set($path); } /** * Set path to templates directory. * @param string|null $path Pass null to disable the default directory. * @return Directory */ public function set($path) { if (!is_null($path) and !is_dir($path)) { throw new LogicException( 'The specified path "' . $path . '" does not exist.' ); } $this->path = $path; return $this; } /** * Get path to templates directory. * @return string */ public function get() { return $this->path; } }