Skip to content
  • This project
    • Loading...
  • Sign in

Jeff Balicki / FP_Canada

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • FP_Canada
  • ..
  • Pattern
  • GetAssetsPathTrait.php
  • Jeff Balicki's avatar
    ee · 820715be
    820715be
    Jeff Balicki committed 2022-01-19 16:14:36 -0500
GetAssetsPathTrait.php 401 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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());
    }
}