AmyRexecController::import PHP Method

import() public method

public import ( $bundleId = '', $libraryName = '' )
    public function import($bundleId = '', $libraryName = '')
    {
        $bundleId = $this->stripFileName($bundleId);
        $libraryName = $this->stripFileName($libraryName);
        $path = $this->configuration['support-path'] . '/bundles/' . $bundleId . '/libs/' . $libraryName . '.php';
        @(include_once $path);
    }