MiniAsset\AssetTarget::isThemed PHP Метод

isThemed() публичный Метод

public isThemed ( ) : boolean
Результат boolean
    public function isThemed()
    {
        return $this->themed;
    }

Usage Example

Пример #1
0
 /**
  * Get the final build file name for a target.
  *
  * @param AssetTarget $target The target to get a name for.
  * @return string
  */
 public function buildFileName(AssetTarget $target)
 {
     $file = $target->name();
     if ($target->isThemed() && $this->theme) {
         $file = $this->theme . '-' . $file;
     }
     return $file;
 }
All Usage Examples Of MiniAsset\AssetTarget::isThemed