src/VendorPlugin.php
protected function installLibrary(IOInterface $IO, Library $library)
    {
        if (!$library || !$library->requiresExpose()) {
            return;
        }

        // Create exposure task
        $task = new VendorExposeTask(
            $this->getProjectPath(),
            $this->filesystem,
            $library->getBasePublicPath()
        );
        $task->process($IO, [$library]);
    }
protected function installLibrary(IOInterface $IO, Library $library)
    {
        if (!$library || !$library->requiresExpose()) {
            return;
        }

        // Create exposure task
        $task = new VendorExposeTask(
            $this->getProjectPath(),
            $this->filesystem,
            $library->getBasePublicPath()
        );
        $task->process($IO, [$library]);
    }
protected function installLibrary ( IOInterface $ IO , Library $ library ) { if ( ! $ library || ! $ library -> requiresExpose ( ) ) { return ; } // Create exposure task $ task = new VendorExposeTask ( $ this -> getProjectPath ( ) , $ this -> filesystem , $ library -> getBasePublicPath ( ) ) ; $ task -> process ( $ IO , [ $ library ] ) ; }
Expose the given Library object

@param IOInterface $IO
@param Library $library
Expose the given Library object