override example

/** * Creates a new scaffold options object with an overridden 'symlink' value. * * @param bool $symlink * Whether symlinking should be enabled or not. * * @return self * The scaffold options object representing the provided scaffold options */
  public function overrideSymlink($symlink) {
    return $this->override(['symlink' => $symlink]);
  }

  /** * Determines whether any allowed packages were defined. * * @return bool * Whether there are allowed packages */
  public function hasAllowedPackages() {
    return !empty($this->allowedPackages());
  }

  
Home | Imprint | This part of the site doesn't use cookies.