mirror of
https://github.com/getgrav/grav.git
synced 2026-07-12 15:02:46 +02:00
Interface FlexDirectoryInterface now extends FlexAuthorizeInterface
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# v1.7.17
|
||||
## mm/dd/2021
|
||||
|
||||
1. [](#new)
|
||||
* Interface `FlexDirectoryInterface` now extends `FlexAuthorizeInterface`
|
||||
1. [](#improved)
|
||||
* Allow to unset an asset attribute by specifying null (ie, `'defer': null`)
|
||||
* Support specifying custom attributes to assets in a collection [Read more](https://learn.getgrav.org/17/themes/asset-manager#collections-with-attributes?target=_blank) [#3358](https://github.com/getgrav/grav/issues/3358)
|
||||
|
||||
@@ -47,7 +47,7 @@ use function is_callable;
|
||||
* @package Grav\Framework\Flex
|
||||
* @template T
|
||||
*/
|
||||
class FlexDirectory implements FlexDirectoryInterface, FlexAuthorizeInterface
|
||||
class FlexDirectory implements FlexDirectoryInterface
|
||||
{
|
||||
use FlexAuthorizeTrait;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ use Grav\Framework\Cache\CacheInterface;
|
||||
* Interface FlexDirectoryInterface
|
||||
* @package Grav\Framework\Flex\Interfaces
|
||||
*/
|
||||
interface FlexDirectoryInterface
|
||||
interface FlexDirectoryInterface extends FlexAuthorizeInterface
|
||||
{
|
||||
/**
|
||||
* @return bool
|
||||
|
||||
Reference in New Issue
Block a user