���� 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; /** * A template folder. */ class Folder { /** * The folder name. * @var string */ protected $name; /** * The folder path. * @var string */ protected $path; /** * The folder fallback status. * @var boolean */ protected $fallback; /** * Create a new Folder instance. * @param string $name * @param string $path * @param boolean $fallback */ public function __construct($name, $path, $fallback = false) { $this->setName($name); $this->setPath($path); $this->setFallback($fallback); } /** * Set the folder name. * @param string $name * @return Folder */ public function setName($name) { $this->name = $name; return $this; } /** * Get the folder name. * @return string */ public function getName() { return $this->name; } /** * Set the folder path. * @param string $path * @return Folder */ public function setPath($path) { if (!is_dir($path)) { throw new LogicException('The specified directory path "' . $path . '" does not exist.'); } $this->path = $path; return $this; } /** * Get the folder path. * @return string */ public function getPath() { return $this->path; } /** * Set the folder fallback status. * @param boolean $fallback * @return Folder */ public function setFallback($fallback) { $this->fallback = $fallback; return $this; } /** * Get the folder fallback status. * @return boolean */ public function getFallback() { return $this->fallback; } }