first
This commit is contained in:
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Nextend\Framework\Pattern;
|
||||
|
||||
|
||||
use Nextend\Framework\Platform\Platform;
|
||||
use Nextend\Framework\Url\Url;
|
||||
|
||||
trait GetAssetsPathTrait {
|
||||
|
||||
use GetPathTrait;
|
||||
|
||||
public static function getAssetsPath() {
|
||||
|
||||
return Platform::filterAssetsPath(self::getPath() . '/Assets');
|
||||
}
|
||||
|
||||
public static function getAssetsUri() {
|
||||
return Url::pathToUri(self::getAssetsPath());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user