Exemple #1
0
 /**
  * Check if this Source should be published by PHP (or left for gulp)
  *
  * @param Source $source
  * @param array $extensions
  * @return bool
  */
 protected function isPublishable(Source $source, array $extensions = ['php'])
 {
     return in_array($source->getExtension(), $extensions);
 }