for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Phraseanet SDK.
*
* (c) Alchemy <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PhraseanetSDK\Entity;
class Technical
{
public static function fromList(array $values)
$technical = array();
foreach ($values as $value) {
$technical[] = self::fromValue($value);
}
return $technical;
public static function fromValue(\stdClass $value)
return new self($value);
/**
* @var \stdClass
protected $source;
* @param \stdClass $source
public function __construct(\stdClass $source)
$this->source = $source;
* @return \stdClass
public function getRawData()
return $this->source;
* @deprecated Use getRawData() instead
public function getSource()
* Get the technical information name
* @return string
public function getName()
return $this->source->name;
* Get the technical value
public function getValue()
return $this->source->value;