TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
download
app
Nette
DI
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/DI/ServiceDefinition.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\DI; use Nette; /** * Definition used by ContainerBuilder. * * @author David Grudl */ class ServiceDefinition extends Nette\Object { /** @var string class or interface name */ public $class; /** @var Statement */ public $factory; /** @var Statement[] */ public $setup = array(); /** @var array */ public $parameters = array(); /** @var array */ public $tags = array(); /** @var mixed */ public $autowired = TRUE; /** @var bool */ public $shared = TRUE; /** @var bool */ public $internal = FALSE; public function setClass($class, array $args = array()) { $this->class = $class; if ($args) { $this->setFactory($class, $args); } return $this; } public function setFactory($factory, array $args = array()) { $this->factory = new Statement($factory, $args); return $this; } public function setArguments(array $args = array()) { if ($this->factory) { $this->factory->arguments = $args; } else { $this->setClass($this->class, $args); } return $this; } public function addSetup($target, $args = NULL) { if (!is_array($args)) { $args = func_get_args(); array_shift($args); } $this->setup[] = new Statement($target, $args); return $this; } public function setParameters(array $params) { $this->shared = $this->autowired = FALSE; $this->parameters = $params; return $this; } public function addTag($tag, $attrs = TRUE) { $this->tags[$tag] = $attrs; return $this; } public function setAutowired($on) { $this->autowired = $on; return $this; } public function setShared($on) { $this->shared = (bool) $on; $this->autowired = $this->shared ? $this->autowired : FALSE; return $this; } public function setInternal($on) { $this->internal = (bool) $on; return $this; } }
Crotin
Name
Size
Permissions
Modified
User/Group
ServiceDefinition.php
2098
0644
2015-08-08 18:27:48
Unknown/Unknown
Statement.php
661
0644
2015-08-08 18:27:48
Unknown/Unknown
ContainerBuilder.php
17919
0644
2015-08-08 18:27:48
Unknown/Unknown
exceptions.php
532
0644
2015-08-08 18:27:48
Unknown/Unknown
Container.php
8626
0644
2015-08-08 18:27:48
Unknown/Unknown
IContainer.php
847
0644
2015-08-08 18:27:48
Unknown/Unknown
Diagnostics
-
0755
2015-08-08 18:27:58
Unknown/Unknown
Helpers.php
4204
0644
2015-08-08 18:27:48
Unknown/Unknown
NestedAccessor.php
1591
0644
2015-08-08 18:27:48
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin