Order matters though. The first extension is found first. 

Sent from my iPhone
Please excuse my brevity

On 06/03/2013, at 1:26 PM, Taylor Otwell <notifications@github.com> wrote:

> In src/Illuminate/View/Environment.php:
> 
> > @@ -488,7 +488,9 @@ public function addExtension($extension, $engine, $resolver = null)
> >  			$this->engines->register($engine, $resolver);
> >  		}
> >  
> > -		$this->extensions[$extension] = $engine;
> > +		if (isset($this->extensions[$engine])) unset($this->extensions[$engine]);
> > +
> > +		$this->extensions = array_merge(array($extension => $engine), $this->extensions);
> To me this looks like it achieves the same thing as the code you removed. By unsetting it and then merging in your extension, isn't that the same as just overriding the extension in the first place like the code was doing before?
> 
> —
> Reply to this email directly or view it on GitHub.