getProfile() public method

public getProfile ( $resolvePlaceholders = true )
コード例 #1
0
 /**
  * @param Blueprint|null $sourceBlueprint
  * @return \StackFormation\StackFactory
  */
 public function getStackFactory(Blueprint $sourceBlueprint = null)
 {
     if (!is_null($this->forceProfile)) {
         return $this->profileManager->getStackFactory($this->forceProfile);
     }
     return $this->profileManager->getStackFactory($sourceBlueprint ? $sourceBlueprint->getProfile() : null);
 }