public function taggedWith($tag)
    {
        $results = [];

        if (isset($this->tags[$tag]))
        {
            foreach ($this->tags[$tag] as $view)
            {
                $results[] = $view;
            }

        }

        return $results;
    }
public function taggedWith($tag)
    {
        $results = [];

        if (isset($this->tags[$tag]))
        {
            foreach ($this->tags[$tag] as $view)
            {
                $results[] = $view;
            }

        }

        return $results;
    }
public function taggedWith ( $ tag ) { $ results = [ ] ; if ( isset ( $ this -> tags [ $ tag ] ) ) { foreach ( $ this -> tags [ $ tag ] as $ view ) { $ results [ ] = $ view ; } } return $ results ; }
Return all the views for a given tag.

@param $tag

@return array
Return all the views for a given tag .