src/View/Helper/Traits/IncludeTrait.php
protected function _arrayInclude($path, array $options = [], $type = 'css')
    {
        $doc = $this->Document;
        if (is_array($path)) {
            $out = '';
            foreach ($path as $i) {
                $out .= $this->{$type}($i, $options);
            }

            if (empty($options['block'])) {
                return $out . $doc->eol;
            }

            return null;
        }

        return false;
    }
protected function _arrayInclude($path, array $options = [], $type = 'css')
    {
        $doc = $this->Document;
        if (is_array($path)) {
            $out = '';
            foreach ($path as $i) {
                $out .= $this->{$type}($i, $options);
            }

            if (empty($options['block'])) {
                return $out . $doc->eol;
            }

            return null;
        }

        return false;
    }
protected function _arrayInclude ( $ path , array $ options = [ ] , $ type = 'css' ) { $ doc = $ this -> Document ; if ( is_array ( $ path ) ) { $ out = '' ; foreach ( $ path as $ i ) { $ out .= $ this -> { $ type } ( $ i , $ options ) ; } if ( empty ( $ options [ 'block' ] ) ) { return $ out . $ doc -> eol ; } return null ; } return false ; }
Include array paths.

@param array|string $path
@param array $options
@param string $type
@return bool|null|string
Include array paths .