src/Awjudd/AssetProcessor/AssetProcessor.php
private function deriveProcessingEnabled()
    {
        // Are they forcing it to be enabled?
        if(config('assetprocessor.enabled.force', false))
        {
            // It was forced, so enable it
            $this->processingEnabled = true;
        }
        else
        {
            // Otherwise derive it based on the environment that we are in
            $this->processingEnabled = in_array(App::environment()
                    , config('assetprocessor.enabled.environments', array())
                );
        }
    }
private function deriveProcessingEnabled()
    {
        // Are they forcing it to be enabled?
        if(config('assetprocessor.enabled.force', false))
        {
            // It was forced, so enable it
            $this->processingEnabled = true;
        }
        else
        {
            // Otherwise derive it based on the environment that we are in
            $this->processingEnabled = in_array(App::environment()
                    , config('assetprocessor.enabled.environments', array())
                );
        }
    }
private function deriveProcessingEnabled ( ) { // Are they forcing it to be enabled? if ( config ( 'assetprocessor.enabled.force' , false ) ) { // It was forced, so enable it $ this -> processingEnabled = true ; } else { // Otherwise derive it based on the environment that we are in $ this -> processingEnabled = in_array ( App :: environment ( ) , config ( 'assetprocessor.enabled.environments' , array ( ) ) ) ; } }
Used internally in order to determine whether or not we need to actually
process the input files.
Used internally in order to determine whether or not we need to actually process the input files .