Skip to content

Commit

Permalink
Removed Maker class
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Jul 3, 2024
1 parent 374add9 commit f73cc2e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 239 deletions.
26 changes: 0 additions & 26 deletions src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Winter\Storm\Foundation\ProviderRepository;
use Winter\Storm\Foundation\Providers\ExecutionContextProvider;
use Winter\Storm\Foundation\Providers\LogServiceProvider;
use Winter\Storm\Foundation\Providers\MakerServiceProvider;
use Winter\Storm\Router\RoutingServiceProvider;
use Winter\Storm\Support\Collection;
use Winter\Storm\Support\Str;
Expand Down Expand Up @@ -110,8 +109,6 @@ protected function registerBaseServiceProviders()

$this->register(new RoutingServiceProvider($this));

$this->register(new MakerServiceProvider($this));

$this->register(new ExecutionContextProvider($this));

$this->register(new CarbonServiceProvider($this));
Expand Down Expand Up @@ -300,29 +297,6 @@ protected function normalizeCachePath($key, $default)
return $path;
}

/**
* Resolve the given type from the container.
*
* (Overriding Container::make)
*
* @param string $abstract
* @return mixed
*/
public function make($abstract, array $parameters = [])
{
$abstract = $this->getAlias($abstract);

if (isset($this->deferredServices[$abstract])) {
$this->loadDeferredProvider($abstract);
}

if ($parameters) {
return $this->make(Maker::class)->make($abstract, $parameters);
}

return parent::make($abstract);
}

/**
* Register a "before" application filter.
*
Expand Down
196 changes: 0 additions & 196 deletions src/Foundation/Maker.php

This file was deleted.

17 changes: 0 additions & 17 deletions src/Foundation/Providers/MakerServiceProvider.php

This file was deleted.

0 comments on commit f73cc2e

Please sign in to comment.