public function getContentExtensions()
    {
        $extensions = [];
        foreach ($this->types as $type) {
            $extensions = array_merge($extensions, $type->getExtensions());
        }

        return array_unique($extensions);
    }
public function getContentExtensions()
    {
        $extensions = [];
        foreach ($this->types as $type) {
            $extensions = array_merge($extensions, $type->getExtensions());
        }

        return array_unique($extensions);
    }
public function getContentExtensions ( ) { $ extensions = [ ] ; foreach ( $ this -> types as $ type ) { $ extensions = array_merge ( $ extensions , $ type -> getExtensions ( ) ) ; } return array_unique ( $ extensions ) ; }
Get all valid content file extensions

@return string[]
Get all valid content file extensions