Exemplo n.º 1
0
 public function getPath(AttachmentInterface $attachment, $style = false)
 {
     $pathGenerator = PathGeneratorFactory::create();
     if ($style != false) {
         return $pathGenerator->getPathForStyles($attachment) . $style . "/";
     } else {
         return $pathGenerator->getPath($attachment);
     }
 }
Exemplo n.º 2
0
 public function getPath($style = false)
 {
     $pathGenerator = PathGeneratorFactory::create();
     if ($style != false) {
         return $pathGenerator->getPathForStyles($this) . $style . "/";
     } else {
         return $pathGenerator->getPath($this);
     }
 }
Exemplo n.º 3
0
 public function getPath($style = false)
 {
     $pathGenerator = PathGeneratorFactory::create();
     return $pathGenerator->getPath($this);
 }