api/laravel/Foundation/Testing/Concerns/InteractsWithContainer.yaml

234 lines
4.7 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: InteractsWithContainer
class_comment: null
dependencies:
- name: Closure
type: class
source: Closure
- name: Mix
type: class
source: Illuminate\Foundation\Mix
- name: Vite
type: class
source: Illuminate\Foundation\Vite
- name: Facade
type: class
source: Illuminate\Support\Facades\Facade
- name: HtmlString
type: class
source: Illuminate\Support\HtmlString
- name: Mockery
type: class
source: Mockery
properties:
- name: originalVite
visibility: protected
comment: '# * The original Vite handler.
# *
# * @var \Illuminate\Foundation\Vite|null'
- name: originalMix
visibility: protected
comment: '# * The original Laravel Mix handler.
# *
# * @var \Illuminate\Foundation\Mix|null'
methods:
- name: swap
visibility: protected
parameters:
- name: abstract
- name: instance
comment: "# * The original Vite handler.\n# *\n# * @var \\Illuminate\\Foundation\\\
Vite|null\n# */\n# protected $originalVite;\n# \n# /**\n# * The original Laravel\
\ Mix handler.\n# *\n# * @var \\Illuminate\\Foundation\\Mix|null\n# */\n# protected\
\ $originalMix;\n# \n# /**\n# * Register an instance of an object in the container.\n\
# *\n# * @param string $abstract\n# * @param object $instance\n# * @return\
\ object"
- name: instance
visibility: protected
parameters:
- name: abstract
- name: instance
comment: '# * Register an instance of an object in the container.
# *
# * @param string $abstract
# * @param object $instance
# * @return object'
- name: mock
visibility: protected
parameters:
- name: abstract
- name: mock
default: 'null'
comment: '# * Mock an instance of an object in the container.
# *
# * @param string $abstract
# * @param \Closure|null $mock
# * @return \Mockery\MockInterface'
- name: partialMock
visibility: protected
parameters:
- name: abstract
- name: mock
default: 'null'
comment: '# * Mock a partial instance of an object in the container.
# *
# * @param string $abstract
# * @param \Closure|null $mock
# * @return \Mockery\MockInterface'
- name: spy
visibility: protected
parameters:
- name: abstract
- name: mock
default: 'null'
comment: '# * Spy an instance of an object in the container.
# *
# * @param string $abstract
# * @param \Closure|null $mock
# * @return \Mockery\MockInterface'
- name: forgetMock
visibility: protected
parameters:
- name: abstract
comment: '# * Instruct the container to forget a previously mocked / spied instance
of an object.
# *
# * @param string $abstract
# * @return $this'
- name: withoutVite
visibility: protected
parameters: []
comment: '# * Register an empty handler for Vite in the container.
# *
# * @return $this'
- name: __invoke
visibility: public
parameters:
- name: entrypoints
- name: buildDirectory
default: 'null'
comment: null
- name: __call
visibility: public
parameters:
- name: method
- name: parameters
comment: null
- name: __toString
visibility: public
parameters: []
comment: null
- name: useIntegrityKey
visibility: public
parameters:
- name: key
comment: null
- name: useBuildDirectory
visibility: public
parameters:
- name: path
comment: null
- name: useHotFile
visibility: public
parameters:
- name: path
comment: null
- name: withEntryPoints
visibility: public
parameters:
- name: entryPoints
comment: null
- name: useScriptTagAttributes
visibility: public
parameters:
- name: attributes
comment: null
- name: useStyleTagAttributes
visibility: public
parameters:
- name: attributes
comment: null
- name: usePreloadTagAttributes
visibility: public
parameters:
- name: attributes
comment: null
- name: preloadedAssets
visibility: public
parameters: []
comment: null
- name: reactRefresh
visibility: public
parameters: []
comment: null
- name: content
visibility: public
parameters:
- name: asset
- name: buildDirectory
default: 'null'
comment: null
- name: asset
visibility: public
parameters:
- name: asset
- name: buildDirectory
default: 'null'
comment: null
- name: withVite
visibility: protected
parameters: []
comment: '# * Restore Vite in the container.
# *
# * @return $this'
- name: withoutMix
visibility: protected
parameters: []
comment: '# * Register an empty handler for Laravel Mix in the container.
# *
# * @return $this'
- name: withMix
visibility: protected
parameters: []
comment: '# * Restore Laravel Mix in the container.
# *
# * @return $this'
traits:
- Closure
- Illuminate\Foundation\Mix
- Illuminate\Foundation\Vite
- Illuminate\Support\Facades\Facade
- Illuminate\Support\HtmlString
- Mockery
interfaces: []