private function autoCommitContent(AbstractClassContent $content)
    {
        // Commit subelement of the Media content
        foreach ($content->getData() as $subcontent) {
            if (!($subcontent instanceof AbstractClassContent)) {
                continue;
            }

            $this->commit($subcontent);
        }

        // Commit the Media content itself
        $this->commit($content);
    }
private function autoCommitContent(AbstractClassContent $content)
    {
        // Commit subelement of the Media content
        foreach ($content->getData() as $subcontent) {
            if (!($subcontent instanceof AbstractClassContent)) {
                continue;
            }

            $this->commit($subcontent);
        }

        // Commit the Media content itself
        $this->commit($content);
    }
private function autoCommitContent ( AbstractClassContent $ content ) { // Commit subelement of the Media content foreach ( $ content -> getData ( ) as $ subcontent ) { if ( ! ( $ subcontent instanceof AbstractClassContent ) ) { continue ; } $ this -> commit ( $ subcontent ) ; } // Commit the Media content itself $ this -> commit ( $ content ) ; }
Auto commit content put or post in the library.

@param AbstractClassContent $content
Auto commit content put or post in the library .