src/Utility/AssetsCreator.php
protected function resolveAssetPath()
    {
        $basename = md5(serialize(array_map(function ($path) {
            return [$path, filemtime($path)];
        }, $this->paths)));

        return Configure::read('Assets.target') . DS . $basename . '.' . $this->type;
    }
protected function resolveAssetPath()
    {
        $basename = md5(serialize(array_map(function ($path) {
            return [$path, filemtime($path)];
        }, $this->paths)));

        return Configure::read('Assets.target') . DS . $basename . '.' . $this->type;
    }
protected function resolveAssetPath ( ) { $ basename = md5 ( serialize ( array_map ( function ( $ path ) { return [ $ path , filemtime ( $ path ) ] ; } , $ this -> paths ) ) ) ; return Configure :: read ( 'Assets.target' ) . DS . $ basename . '.' . $ this -> type ; }
Internal method to resolve the asset path
@return string Asset full path
@use $paths
@use $type
Internal method to resolve the asset path