Commit d5745f16 authored by ZZZ[GONE] frebault's avatar ZZZ[GONE] frebault
Browse files

- Rename IExtendedFieldsFactory to ExtendedFieldsFactoryInterface

parent 0aa3be6b
......@@ -10,4 +10,4 @@ A simple PHP static library to GGUS Soap service.
## Get Started
Implement GgusObject class
\ No newline at end of file
Implement GgusObject class
......@@ -12,4 +12,4 @@ class HelpdeskOperationException extends \Exception
parent::__construct('[HelpdeskOperationException] '.$message, $code, $previous);
}
}
\ No newline at end of file
}
......@@ -12,4 +12,4 @@ class InvalidFieldException extends \Exception
parent::__construct('[InvalidFieldException] '.$message, $code, $previous);
}
}
\ No newline at end of file
}
......@@ -8,7 +8,7 @@
namespace GGUSHelpdesk\ExtendedFields;
class ArrayObjectFactory implements IExtendedFieldsFactory{
class ArrayObjectFactory implements ExtendedFieldsFactoryInterface{
function createInstanceFromFieldsList(array $fieldsList)
{
......@@ -25,4 +25,4 @@ class ArrayObjectFactory implements IExtendedFieldsFactory{
function serializeInstance($object){
return $object->serialize();
}
}
\ No newline at end of file
}
......@@ -9,10 +9,10 @@
namespace GGUSHelpdesk\ExtendedFields;
interface IExtendedFieldsFactory {
interface ExtendedFieldsFactoryInterface {
function createInstanceFromFieldsList(array $fieldsList);
function createInstanceFromSerializedObject($string);
function serializeInstance($object);
}
\ No newline at end of file
}
......@@ -2,7 +2,7 @@
namespace GGUSHelpdesk;
use GGUSHelpdesk\Exceptions\InvalidFieldException;
use GGUSHelpdesk\ExtendedFields\IExtendedFieldsFactory;
use GGUSHelpdesk\ExtendedFields\ExtendedFieldsFactoryInterface;
/**
* provide basic behaviour a GGUS obejct's Fields
......@@ -52,7 +52,7 @@ class Fields extends ArrayFields
return $this[$this->extendedFieldsIndex];
}
public function setExtendedFieldsFactory(IExtendedFieldsFactory $factory)
public function setExtendedFieldsFactory(ExtendedFieldsFactoryInterface $factory)
{
$this->extendedFieldsFactory = $factory;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment